package com.hutao.medical.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hutao.medical.dataSource.TargetDataSource;
import com.hutao.medical.mapper.medicalRecord.FirstLevelMedicalMapper;
import com.hutao.medical.service.FirstLevelMedicalService;

@Transactional
@Service
public class FirstLevelMedicalServiceImpl implements FirstLevelMedicalService{

	@Autowired
	private FirstLevelMedicalMapper firstLevelMedicalMapper;
	
	@TargetDataSource(name = "ds1")
	@Transactional(readOnly = true)
	@Override
	public Map<String, Object> findFirstLevelMedicalByFirstGuid(String firstGuid) {
		return firstLevelMedicalMapper.findFirstLevelMedicalByFirstGuid(firstGuid);
	}

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
